package com.liyiruo.service.impl;



import com.liyiruo.service.DemoService;

import javax.jws.WebService;
import java.util.Date;

/**
 * @author liyiruo
 * @Description
 * @Date 2021/9/6 下午6:33
 */
@WebService(serviceName = "DemoService",
        targetNamespace = "http://service.liyiruo.com",
        endpointInterface = "com.liyiruo.service.DemoService")
public class DemoServiceImpl implements DemoService {
    @Override
    public String sayHello(String user) {
        return user + ":" + new Date();
    }

    @Override
    public String sayByeby(String user) {
        return user+" byby ";
    }
}
